home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_xemacs.idb / usr / freeware / src / xemacs / patches.z / patches
Encoding:
Text File  |  1998-05-21  |  10.0 KB  |  341 lines

  1. *** ./man/Makefile    Mon Mar  9 12:11:12 1998
  2. --- ../xemacs-20.4/./man/Makefile    Tue May  5 10:37:09 1998
  3. ***************
  4. *** 22,27 ****
  5. --- 22,28 ----
  6.   # Avoid trouble on systems where the "SHELL" variable might be
  7.   # inherited from the environment.
  8.   SHELL = /bin/sh
  9. + MAKE = gmake
  10.   
  11.   EMACS = ../src/xemacs
  12.   EMACSFLAGS = -batch -q -no-site-file 
  13. ***************
  14. *** 34,39 ****
  15. --- 35,41 ----
  16.   .SUFFIXES:
  17.   .SUFFIXES: .info .texi .dvi
  18.   
  19. + MAKE = gmake
  20.   RECURSIVE_MAKE = $(MAKE) $(MFLAGS) MAKEINFO='$(MAKEINFO)' TEXI2DVI='$(TEXI2DVI)'
  21.   
  22.   # Subdirectories to make recursively.
  23. ***************
  24. *** 53,59 ****
  25.   
  26.   special = # ../info/w3.info ../info/vm.info ../info/texinfo.info
  27.   
  28. ! all  : info
  29.   info : $(info) $(special)
  30.       -for d in $(SUBDIR) ; do \
  31.       (if test -d $${d}; then cd $${d} && $(RECURSIVE_MAKE) $@; fi) ;\
  32. --- 55,61 ----
  33.   
  34.   special = # ../info/w3.info ../info/vm.info ../info/texinfo.info
  35.   
  36. ! all  : 
  37.   info : $(info) $(special)
  38.       -for d in $(SUBDIR) ; do \
  39.       (if test -d $${d}; then cd $${d} && $(RECURSIVE_MAKE) $@; fi) ;\
  40. *** ./man/Makefile.orig    Thu Jan 22 12:40:00 1998
  41. --- ../xemacs-20.4/./man/Makefile.orig    Mon Mar  9 12:11:12 1998
  42. ***************
  43. *** 44,51 ****
  44.   
  45.   srcs = cc-mode cl custom ediff efs external-widget forms \
  46.       gnus hm--html-mode \
  47. !     hyperbole ilisp info ispell mailcrypt message mh-e oo-browser \
  48. !     pcl-cvs ph psgml psgml-api rmail standards supercite term \
  49.       termcap texinfo vhdl-mode viper vm w3-faq w3 widget xemacs-faq
  50.   
  51.   info = $(srcs:%=../info/%.info)
  52. --- 44,51 ----
  53.   
  54.   srcs = cc-mode cl custom ediff efs external-widget forms \
  55.       gnus hm--html-mode \
  56. !     ilisp info ispell mailcrypt message mh-e \
  57. !     pcl-cvs ph psgml psgml-api reftex rmail standards supercite term \
  58.       termcap texinfo vhdl-mode viper vm w3-faq w3 widget xemacs-faq
  59.   
  60.   info = $(srcs:%=../info/%.info)
  61. *** ./src/Makefile.in.in    Mon Mar  9 12:11:23 1998
  62. --- ../xemacs-20.4/./src/Makefile.in.in    Fri Apr 24 13:10:37 1998
  63. ***************
  64. *** 451,462 ****
  65.   
  66.   
  67.   TopLevelEmacsShell.o : ${srcdir}/EmacsShell-sub.c
  68. !     $(CC) -c $(cflags) -DDEFINE_TOP_LEVEL_EMACS_SHELL ${srcdir}/EmacsShell-sub.c
  69. !     mv EmacsShell-sub.o TopLevelEmacsShell.o
  70.   
  71.   TransientEmacsShell.o : ${srcdir}/EmacsShell-sub.c TopLevelEmacsShell.o
  72. !     $(CC) -c $(cflags) -DDEFINE_TRANSIENT_EMACS_SHELL ${srcdir}/EmacsShell-sub.c
  73. !     mv EmacsShell-sub.o TransientEmacsShell.o
  74.   
  75.   ## Position-independent code for shared library creation
  76.   #if USE_GCC
  77. --- 451,460 ----
  78.   
  79.   
  80.   TopLevelEmacsShell.o : ${srcdir}/EmacsShell-sub.c
  81. !     $(CC) -c $(cflags) -DDEFINE_TOP_LEVEL_EMACS_SHELL ${srcdir}/EmacsShell-sub.c -o TopLevelEmacsShell.o
  82.   
  83.   TransientEmacsShell.o : ${srcdir}/EmacsShell-sub.c TopLevelEmacsShell.o
  84. !     $(CC) -c $(cflags) -DDEFINE_TRANSIENT_EMACS_SHELL ${srcdir}/EmacsShell-sub.c -o TransientEmacsShell.o
  85.   
  86.   ## Position-independent code for shared library creation
  87.   #if USE_GCC
  88. *** ./src/unexelfsgi.c    Mon Mar  9 12:11:43 1998
  89. --- ../xemacs-20.4/./src/unexelfsgi.c    Fri Apr 24 13:10:38 1998
  90. ***************
  91. *** 668,673 ****
  92. --- 668,676 ----
  93.     old_sbss_index = find_section (".sbss", old_section_names,
  94.                    old_name, old_file_h, old_section_h, 1);
  95.   
  96. +   if (old_sbss_index != -1 && (OLD_SECTION_H (old_sbss_index).sh_type == SHT_PROGBITS))
  97. +     old_sbss_index = -1;
  98.     /* Find the old .bss section. */
  99.   
  100.     old_bss_index = find_section (".bss", old_section_names,
  101. *** ./src/Makefile.in.in.orig    Thu Jan 22 12:51:36 1998
  102. --- ../xemacs-20.4/./src/Makefile.in.in.orig    Mon Mar  9 12:11:23 1998
  103. ***************
  104. *** 116,122 ****
  105.   OFFIX_O = @OFFIX_O@
  106.   
  107.   x_objs=balloon_help.o balloon-x.o console-x.o device-x.o event-Xt.o frame-x.o\
  108. !  glyphs-x.o objects-x.o redisplay-x.o xgccache.o xselect.o $(OFFIX_O)
  109.   
  110.   #ifdef AIX4
  111.   LIBI18N = -li18n
  112. --- 116,122 ----
  113.   OFFIX_O = @OFFIX_O@
  114.   
  115.   x_objs=balloon_help.o balloon-x.o console-x.o device-x.o event-Xt.o frame-x.o\
  116. !  glyphs-x.o objects-x.o redisplay-x.o xgccache.o xselect.o
  117.   
  118.   #ifdef AIX4
  119.   LIBI18N = -li18n
  120. ***************
  121. *** 255,261 ****
  122.   all: ${other_files}
  123.   # endif /* EXTERNAL_WIDGET */
  124.   
  125. ! X11_objs = EmacsFrame.o EmacsShell.o TopLevelEmacsShell.o TransientEmacsShell.o EmacsManager.o $(external_widget_objs)
  126.   #endif /* HAVE_X_WINDOWS */
  127.   
  128.   ## define otherobjs as list of object files that make-docfile
  129. --- 255,261 ----
  130.   all: ${other_files}
  131.   # endif /* EXTERNAL_WIDGET */
  132.   
  133. ! X11_objs =  $(OFFIX_O) EmacsFrame.o EmacsShell.o TopLevelEmacsShell.o TransientEmacsShell.o EmacsManager.o $(external_widget_objs)
  134.   #endif /* HAVE_X_WINDOWS */
  135.   
  136.   ## define otherobjs as list of object files that make-docfile
  137. ***************
  138. *** 390,396 ****
  139.   
  140.   .PHONY : run-temacs
  141.   
  142. ! run-temacs:
  143.       ./temacs -batch -l loadup.el run-temacs
  144.   
  145.   ## Debugging targets:
  146. --- 390,396 ----
  147.   
  148.   .PHONY : run-temacs
  149.   
  150. ! run-temacs: temacs
  151.       ./temacs -batch -l loadup.el run-temacs
  152.   
  153.   ## Debugging targets:
  154. *** ./src/unexelfsgi.c.orig    Thu Jan 22 13:06:33 1998
  155. --- ../xemacs-20.4/./src/unexelfsgi.c.orig    Mon Mar  9 12:11:43 1998
  156. ***************
  157. *** 498,504 ****
  158.   #include <sym.h> /* for HDRR declaration */
  159.   #include <sys/mman.h>
  160.   #include <config.h>
  161. ! #include "sysdep.h"
  162.   
  163.   /* in 64bits mode, use 64bits elf */
  164.   #ifdef _ABI64
  165. --- 498,504 ----
  166.   #include <sym.h> /* for HDRR declaration */
  167.   #include <sys/mman.h>
  168.   #include <config.h>
  169. ! #include "lisp.h"
  170.   
  171.   /* in 64bits mode, use 64bits elf */
  172.   #ifdef _ABI64
  173. ***************
  174. *** 520,531 ****
  175.   #endif
  176.   
  177.   
  178. - #ifndef emacs
  179. - #define fatal(a, b, c) fprintf(stderr, a, b, c), exit(1)
  180. - #else
  181. - extern void fatal(char *, ...);
  182. - #endif
  183.   /* Get the address of a particular section or program header entry,
  184.    * accounting for the size of the entries.
  185.    */
  186. --- 520,525 ----
  187. ***************
  188. *** 605,611 ****
  189.    * .data section, and inserting an empty .bss immediately afterwards.
  190.    *
  191.    */
  192. ! void
  193.   unexec (new_name, old_name, data_start, bss_start, entry_address)
  194.        char *new_name, *old_name;
  195.        uintptr_t data_start, bss_start, entry_address;
  196. --- 599,605 ----
  197.    * .data section, and inserting an empty .bss immediately afterwards.
  198.    *
  199.    */
  200. ! int
  201.   unexec (new_name, old_name, data_start, bss_start, entry_address)
  202.        char *new_name, *old_name;
  203.        uintptr_t data_start, bss_start, entry_address;
  204. ***************
  205. *** 1011,1014 ****
  206. --- 1005,1010 ----
  207.     stat_buf.st_mode |= 0111 & ~n;
  208.     if (chmod (new_name, stat_buf.st_mode) == -1)
  209.       fatal ("Can't chmod (%s): errno %d\n", new_name, errno);
  210. +   return 0;
  211.   }
  212. *** ./Makefile.in    Mon Mar  9 12:08:06 1998
  213. --- ../xemacs-20.4/./Makefile.in    Fri Apr 24 13:10:39 1998
  214. ***************
  215. *** 637,648 ****
  216.   ## dist:
  217.   ##    cd ${srcdir} && make-dist
  218.   
  219. ! info: FRC.info
  220. !     cd ${srcdir}/man && $(RECURSIVE_MAKE) $@
  221. ! dvi:
  222. !     cd ${srcdir}/man && $(RECURSIVE_MAKE) $@
  223.   ## Fix up version information in executables (Solaris-only)
  224.   mcs:
  225.       date=`LANG=C LC_ALL=C date -u '+%e %b %Y'`; \
  226. --- 637,649 ----
  227.   ## dist:
  228.   ##    cd ${srcdir} && make-dist
  229.   
  230. ! #
  231. ! # info: FRC.info
  232. ! #    cd ${srcdir}/man && $(RECURSIVE_MAKE) $@
  233. ! #
  234. ! #dvi:
  235. ! #    cd ${srcdir}/man && $(RECURSIVE_MAKE) $@
  236. ! $
  237.   ## Fix up version information in executables (Solaris-only)
  238.   mcs:
  239.       date=`LANG=C LC_ALL=C date -u '+%e %b %Y'`; \
  240. *** ./Makefile.in.orig    Thu Jan 22 11:25:38 1998
  241. --- ../xemacs-20.4/./Makefile.in.orig    Mon Mar  9 12:08:06 1998
  242. ***************
  243. *** 230,236 ****
  244.   GENERATED_HEADERS = src/paths.h src/Emacs.ad.h src/puresize-adjust.h src/config.h lwlib/config.h
  245.   GENERATED_LISP = lisp/utils/finder-inf.el
  246.   
  247. ! all:    ${GENERATED_HEADERS} ${MAKE_SUBDIR} ${GENERATED_LISP}
  248.   
  249.   ## For performance and consistency, no built-in rules
  250.   .SUFFIXES:
  251. --- 230,236 ----
  252.   GENERATED_HEADERS = src/paths.h src/Emacs.ad.h src/puresize-adjust.h src/config.h lwlib/config.h
  253.   GENERATED_LISP = lisp/utils/finder-inf.el
  254.   
  255. ! all:    ${GENERATED_HEADERS} ${MAKE_SUBDIR} ${GENERATED_LISP} all-elc info
  256.   
  257.   ## For performance and consistency, no built-in rules
  258.   .SUFFIXES:
  259. ***************
  260. *** 268,285 ****
  261.       MAKE='$(MAKE)' sh ${srcdir}/lib-src/update-custom.sh
  262.   
  263.   finder: src
  264. !     @echo "Building finder database"
  265.       @(cd lisp/utils; \
  266.           ${blddir}/src/xemacs -batch -q -no-site-file \
  267.           -eval '(setq finder-compile-keywords-quiet t)' \
  268.           -l finder -f finder-compile-keywords )
  269.   
  270.   lisp/utils/finder-inf.el:
  271. !     @echo "Building finder database"
  272.       @(cd lisp/utils; \
  273.           ${blddir}/src/xemacs -batch -q -no-site-file \
  274.           -eval '(setq finder-compile-keywords-quiet t)' \
  275.           -l finder -f finder-compile-keywords )
  276.   
  277.   ## We force the rebuilding of src/paths.h because the user might give
  278.   ## different values for the various directories.  Since we use
  279. --- 268,287 ----
  280.       MAKE='$(MAKE)' sh ${srcdir}/lib-src/update-custom.sh
  281.   
  282.   finder: src
  283. !     @echo "Building finder database ..."
  284.       @(cd lisp/utils; \
  285.           ${blddir}/src/xemacs -batch -q -no-site-file \
  286.           -eval '(setq finder-compile-keywords-quiet t)' \
  287.           -l finder -f finder-compile-keywords )
  288. +     @echo "Building finder database ...(done)"
  289.   
  290.   lisp/utils/finder-inf.el:
  291. !     @echo "Building finder database ..."
  292.       @(cd lisp/utils; \
  293.           ${blddir}/src/xemacs -batch -q -no-site-file \
  294.           -eval '(setq finder-compile-keywords-quiet t)' \
  295.           -l finder -f finder-compile-keywords )
  296. +     @echo "Building finder database ...(done)"
  297.   
  298.   ## We force the rebuilding of src/paths.h because the user might give
  299.   ## different values for the various directories.  Since we use
  300. ***************
  301. *** 338,348 ****
  302.        echo "#define PURESIZE_ADJUSTMENT 0") > $@
  303.   
  304.   src: @SRC_SUBDIR_DEPS@ FRC.src
  305. - pkg-src/tree-x: pkg-src/FRC.tree-x
  306.   lib-src: FRC.lib-src
  307.   lwlib:    FRC.lwlib
  308.   dynodump: FRC.dynodump
  309. ! FRC.src FRC.lib-src FRC.lwlib FRC.dynodump pkg-src/FRC.tree-x:
  310.   FRC.lisp.utils.finder-inf.el:
  311.   
  312.   .RECURSIVE: ${SUBDIR}
  313. --- 340,349 ----
  314.        echo "#define PURESIZE_ADJUSTMENT 0") > $@
  315.   
  316.   src: @SRC_SUBDIR_DEPS@ FRC.src
  317.   lib-src: FRC.lib-src
  318.   lwlib:    FRC.lwlib
  319.   dynodump: FRC.dynodump
  320. ! FRC.src FRC.lib-src FRC.lwlib FRC.dynodump:
  321.   FRC.lisp.utils.finder-inf.el:
  322.   
  323.   .RECURSIVE: ${SUBDIR}
  324. ***************
  325. *** 360,368 ****
  326.       ./config.status
  327.   
  328.   lwlib/Makefile: ${srcdir}/lwlib/Makefile.in.in config.status
  329. -     ./config.status
  330. - pkg-src/tree-x/Makefile: ${srcdir}/pkg-src/tree-x/Makefile.in.in config.status
  331.       ./config.status
  332.   
  333.   src/config.h: ${srcdir}/src/config.h.in
  334. --- 361,366 ----
  335.